package com.itheima.health.service;


import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Setmeal;

import java.util.List;

public interface SetmealService {


    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);

    //新增套餐
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    //删除套餐
    void delete(Integer id);

    //回显套餐
    Setmeal getById(Integer id);

    //修改套餐
    void edit(Setmeal setmeal, Integer[] checkgroupIds);
}
